<template>
  <div>
    <h2>我是b组件</h2>
    <p>params传参name: {{ $route.params.name }}</p>
    <p>params传参age: {{ $route.params.age }}</p>
  </div>
</template>



<script lang="ts" setup>
</script>


<style>
</style>